package com.fresher.spring;



import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class LoginController {
	/**
	 * Simply selects the home view to render by returning its name.
	 */
	@RequestMapping("/")
	protected ModelAndView Login (HttpServletRequest rq, HttpServletResponse rp) throws Exception {
		ModelAndView mv = new ModelAndView("login");
		return mv;
	}
	
}
